package com.wang.designpattern.adapter.classadapter;

public class Client {
    public static void main(String[] args) {
        System.out.println("类适配器模式");
        IVoltage5 voltage5 = new VoltageAdapter();
        Phone phone = new Phone();
        phone.charging(voltage5);
    }
}
